# Meant as an interface
package DependencyResolver;

#
# Injects the neccesary dependencies into the component
# Dependencies are defined by a package array @DEPENDS_ON
# that is expected to be found in the component's class
# If it is not found, it is assumed empty
# 
# The component's class name can be passed as a second argument
# If it is not passed, it is inferred as the package the reference
# passed as "component" was blessed as
#
sub resolveDependencies{
    my $self = shift;
    my $component = shift;
    my $class = shift;
    $class = ref $component unless(defined $class);
    # Stub implementation
}

1;
